﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ViewExample
{
    public partial class ViewExampleForm : Form
    {
        public ViewExampleForm()
        {
            InitializeComponent();
        }

        private void btn_ViewOpen_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ViewOpen();
        }

        private void btn_ViewClose_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ViewClose();
        }

        private void btn_ViewRestore_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ViewRestore();
        }

        private void btn_ViewTransientAdd_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ViewManagerAddTransients();
        }

        private void btn_ViewTransientDrop_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ViewManagerDropTransients();
        }

        private void btn_ViewMonitorAdd_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ViewManagerAddViewOpenMonitor();
        }

        private void btn_ViewMonitorDrop_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ViewManagerDropViewOpenMonitor();
        }

        private void btn_ChangeColor_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ChangeBackgroundColor();
        }

        private void btn_SceneCreate_Click(object sender, EventArgs e)
        {
            UsingViewMethods.CreateNewScene();
        }

        private void btn_SceneSetNew_Click(object sender, EventArgs e)
        {
            UsingViewMethods.SetNewScene();
        }

        private void btn_SceneSetDefault_Click(object sender, EventArgs e)
        {
            UsingViewMethods.SetDefaultScene();
        }

        private void btn_FitView_Click(object sender, EventArgs e)
        {
            UsingViewMethods.FitView();
        }

        private void btn_AdapterWid_Click(object sender, EventArgs e)
        {
            UsingViewMethods.AdapterWindow();
        }

        private void btn_DockWindow_Click(object sender, EventArgs e)
        {
            UsingViewMethods.DockWindow();
        }

        private void btn_ViewRotate_Click(object sender, EventArgs e)
        {
            UsingViewMethods.RotateView();
        }

        private void btn_ModifyRenderMode_Click(object sender, EventArgs e)
        {
            UsingViewMethods.ModifyRenderMode();
        }
    }
}
